package com.deer.wms.base.system.dao.ware;

import com.deer.wms.base.system.model.ware.Customer;
import com.deer.wms.base.system.model.ware.CustomerCriteria;
import com.deer.wms.common.core.commonMapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper extends Mapper<Customer> {
    long countByExample(CustomerCriteria example);

    int deleteByExample(CustomerCriteria example);

    int insert(Customer record);

    int insertSelective(Customer record);

    List<Customer> selectByExample(Customer example);

    int updateByExampleSelective(@Param("record") Customer record, @Param("example") CustomerCriteria example);

    int updateByExample(Customer record);

    int updateByPrimaryKeySelective(Customer record);

    List<Customer> getCustomerNameList(Customer customer);

    List<Customer> selectCustomerList(Customer customer);
}